function unserializeArray(data){
    var obj = {};
    $.each(data,function(key,val){
        var _index = val.name;
        var _val=val.value;
        obj[_index]=_val;
    });
    return obj;
}